<header>
  <h2><%=@record.name%></h2>
  <p>released at <time datetime="2009-06-29T23:31+01:00"><%=@record.release%></time> by <a href="#"><%=@record.owner%></a> - <a href="#comments">3 comments</a></p>
  </header>
  <%@record.get_headers.each do |a|%>
<p>
  <b><%=a.name%></b>
  <%=@record[a.name] %>
</p>
<%end%>
   <a href="<%="/#{@name}s/edit/#{@record.id}"%>" target="show" class="edit_item">Edit</a>
    <a href="<%="/#{@name}s/delete/#{@record.id}"%>" target="show" class="delete_item">Delete</a>
<script>
  $(".edit_item").click(function(e){e.preventDefault();$('#show').load(this.href)});
  $(".delete_item").click(function(e){e.preventDefault();$('#show').load(this.href)});
</script>
